/**
 * 分页结果
 */
interface PageResult<T> {
  data?: T[];
  total?: number;
  current?: number;
  pageSize?: number;
}

/**
 * 分页参数
 */
interface PageParam {
  current?: number;
  pageSize?: number;
  sorter?: string;
}

/**
 * 数据库基础模型
 */
interface DbBaseModel {
  sort?: number;
  status?: number;
  remark?: string;
  del_flag?: number;
  creator?: string;
  updater?: string;
  create_time?: string;
  update_time?: string;
}

/**
 * 租户模型
 */
interface TenantModel extends DbBaseModel {
  tenant_id?: number;
}


export type {PageResult, PageParam, DbBaseModel, TenantModel};
